<template>
  <div>
    App
    <hr>
    <!-- 一个自定义组件默认是不支持 v-model 双向绑定指令的 -->
    <!-- <MyInput :value="msg" @input="msg = $event" /> -->
    <MyInput v-model="msg" />
  </div>
</template>

<script>
import MyInput from '@/components/MyInput.vue'
export default {
  name: 'App',
  components: {
    MyInput
  },
  data() {
    return {
      msg: 'hello vue!!!'
    }
  }
}
</script>

<style>

</style>